package com.chenfan.mcn.model.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 红人月度结算单列表-子结算单导出
 * @author fhlj
 */
@Data
public class StatementListExportVO implements Serializable {

    /**
     * 结算单ID
     */
    private Long id;

    /**
     * 结算单号
     */
    @Excel(name = "结算单号")
    private String settlementCode;

    /**
     * 单据状态
     */
    @Excel(name = "单据状态", replace = {"待提交_0", "审批中_1", "待打款_2", "审批拒绝_3", "已撤回_4", "部分打款_5", "已打款_6", "已作废_9"})
    private String approvalStatus;

    /**
     * 审批实例ID
     */
    private Long flowId;

    /**
     * 审批状态
     */
    @Excel(name = "审批状态")
    private String flowStatusName;

    /**
     * 红人昵称
     */
    @Excel(name = "红人昵称")
    private String starNickname;

    /**
     * 结算时间
     */
    @Excel(name = "结算时间", format = "yyyy-MM-dd")
    private Date settlementDate;
    /**
     * 是否含线下报销 0否1是
     */
    @Excel(name = "是否含线下报销", replace = {"否_0", "是_1"})
    private String isOfflineReimburse;

    /**
     * 子结算单号
     */
    @Excel(name = "子结算单号")
    private String subSettlementCode;

    /**
     * 我司签约主体ID
     */
    private Long contractingId;

    /**
     * 我司合同主体
     */
    @Excel(name = "我司合同主体")
    private String companyContractSubject;

    /**
     * 姓名
     */
    @Excel(name = "姓名")
    private String starName;

    /**
     * 收款账户户名
     */
    @Excel(name = "收款账户户名")
    private String accountName;

    /**
     * 身份证号
     */
    @Excel(name = "收款账户身份证号码")
    private String accountIdCard;

    /**
     * 打款类型
     */
    @Excel(name = "打款类型", replace = {"公司_1", "个人_2", "工作室_3"})
    private String studioPayment;

    /**
     * 收款账户手机号
     */
    @Excel(name = "收款账户手机号")
    private String accountPhone;

    /**
     * 原“税前金额”字段更名而来
     */
    @Excel(name = "可执行单可分成基数(元)", type = 10)
    private BigDecimal pretaxAmount;
    /**
     * 财务确认可分成金额(元)
     */
    @Excel(name = "财务确认可分成金额(元)", type = 10)
    private BigDecimal financeConfirmedDevidedAmount;
    /**
     * 线上结算发票金额(元)
     */
    @Excel(name = "线上结算发票金额(元)", type = 10)
    private BigDecimal onlineInvoiceAmount;

    /**
     * 原“应扣税额”字段更名而来
     * 线上结算应扣税额(元)
     */
    @Excel(name = "线上结算应扣税额(元)", type = 10)
    private BigDecimal taxableAmount;
    /**
     * 线上结算打款金额(元)
     */
    @Excel(name = "线上结算打款金额(元)", type = 10)
    private BigDecimal financePaidAmount;
    /**
     * 线下报销发票金额(元)
     */
    @Excel(name = "线下报销发票金额(元)", type = 10)
    private BigDecimal offlineInvoiceAmount;

    /**
     * 税后金额
     */
    private BigDecimal aftertaxAmount;

    /**
     * 数据所有人
     */
    @Excel(name = "数据所有人")
    private String ownerName;

    /**
     * 创建人
     */
    @Excel(name = "创建人")
    private String createName;

    /**
     * 打款日期
     */
    @Excel(name = "打款日期", format = "yyyy-MM-dd")
    private Date paidDate;

    /**
     * 创建时间
     */
    @Excel(name = "创建时间", exportFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    /**
     * 财务分成金额备注
     */
    @Excel(name = "财务分成金额备注")
    private String remark;

}
